import Vue from 'vue'
import Router from 'vue-router'
import AskAnswer from '@/components/test/AskAnswer'
import Hello from '@/components/Hello'
import TestElementLayout from '@/components/test/TestElementLayout'
import TestAnimation from '@/components/test/TestAnimation'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/test/testElementLayout',
      name: 'TestElementLayout',
      component: TestElementLayout
    },
    {
      path: '/test/testAnimation',
      name: 'TestAnimation',
      component: TestAnimation
    },
    {
      path: '/test/askAnswer',
      name: 'AskAnswer',
      component: AskAnswer
    }
  ]
})
